package com.group9.service.impl;

import com.group9.dto.UpdateInfo;
import com.group9.mapper.UpdateInfoMapper;
import com.group9.service.ViewInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 45865 on 2020/5/29.
 */
@Service
public class ViewInfoServiceImpl implements ViewInfoService {

    @Autowired
    UpdateInfoMapper updateInfoMapper;

    @Override
    public UpdateInfo viewInfoPersonal(String loginName) {
        UpdateInfo updateInfo = updateInfoMapper.viewInfo1(loginName);
        return updateInfo;
    }
}
